Feature: Check items available for sale
Description: As user I want to check if I could add to shopping cart any searched item.
File name: amazon_test.feature
Relative path: features/amazon_test.feature
Scenario Outline: Perform a seach for iPhone 14 PRO and add it to the shopping cart
Before
Hook
00:00:00.003
And
I click on search button
00:00:05.488
After
Hook
00:00:00.565
Scenario Outline: Perform a seach for QA Automation book and add it to the shopping cart
Before
Hook
0s
And
I click on search button
00:00:05.618
org.junit.ComparisonFailure: expected:([2]) but was:([1]) at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at stepdefinitions.Tests.seeTheCartItemsCountIncreasing(Tests.java:109) at ✽.I see the cart items count is "2"(file:///C:/Users/pedro.giron01/Desktop/GitHub/verify_items/src/test/java/features/amazon_test.feature:15)
After
Hook
00:00:00.561